FROM java:8
COPY *.jar /app.jar
# 以应用方式启动
CMD ["--server.port=8080"]
EXPOSE 8080
ENTRYPOINT ["java","-jar","app.jar"]